import axios from "../../utils/axios";
/**
 *  2.0版本
 */

// /dailyBus/getAllDailyNewPage 获取全部每日新品
export function getSeckillList(query) {
    return axios({
        url: "/seckillManage/getSeckillList",
        method: "get",
        params: query
    });
}
export function addOrUpdateSeckill(data) {
    return axios({
        url: "/seckillManage/addOrUpdateSeckill",
        method: "post",
        data: data
    });
}
export function deleteSeckill(query) {
    return axios({
        url: "/seckillManage/deleteSeckill",
        method: "post",
        data: query
    });
}
